package com.andy.customerService.service;

import com.andy.customerService.entity.Road;
import com.andy.customerService.vo.JsonBaseResult;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 线路 服务类
 * </p>
 *
 * @author Andy
 * @since 2022-02-24
 */
public interface RoadService extends IService<Road> {

    JsonBaseResult<Object> addRoad(Road road);

    JsonBaseResult<Object> editRoad(Road road);

    Road getRoadByRole(String role);

    JsonBaseResult<Object> roadList();
}
